package com.easylinkin.linkappapi.crane.entity;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import java.util.Date;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 吊车循环数据记录表
 *
 * @author xy
 * @since 2025-07-11
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@TableName("rail_crane_work_record")
public class CraneWorkRecord implements Serializable{
    private static final long serialVersionUID=1L;

    /**
     * id
     */
    @TableId(value = "id_", type = IdType.AUTO)
    private Long id;

    /**
     * 租户id
     */
    @TableField(value = "tenant_id_")
    private String tenantId;

    /**
     * 机械id
     */
    @TableField(value = "mechanical_id_")
    private String mechanicalId;

    /**
     * 设备id
     */
    @TableField(value = "device_id_")
    private String deviceId;

    /**
     * 设备code
     */
    @TableField(value = "device_code_")
    private String deviceCode;

    /**
     * 设备名称
     */
    @TableField(value = "device_name_")
    private String deviceName;

    /**
     * 工作循环起始时间
     */
    @TableField(value = "work_start_time_")
    private Date workStartTime;

    /**
     * 工作循环结束时间
     */
    @TableField(value = "work_end_time_")
    private Date workEndTime;

    /**
     * 最大吊重
     */
    @TableField(value = "max_weight_")
    private BigDecimal maxWeight;

    /**
     * 最大风速
     */
    @TableField(value = "max_wind_speed_")
    private BigDecimal maxWindSpeed;

    /**
     * 最大倾斜度
     */
    @TableField(value = "max_inclination_")
    private BigDecimal maxInclination;

    /**
     * 最大臂尖高度
     */
    @TableField(value = "max_arm_height_")
    private BigDecimal maxArmHeight;

    /**
     * 上报时间
     */
    @TableField(value = "upload_time_")
    private Date uploadTime;

    /**
     * 创建人id
     */
    @TableField(value = "create_id_")
    private Long createId;

    /**
     * 创建日期
     */
    @TableField(value = "create_time_")
    private Date createTime;

    /**
     * 修改人id
     */
    @TableField(value = "modify_id_")
    private Long modifyId;

    /**
     * 修改时间
     */
    @TableField(value = "modify_time_")
    private Date modifyTime;

    /**
     * 备注
     */
    @TableField(value = "remark_")
    private String remark;

}
